#!/bin/bash

env=$1
#install=$2
#if [[ ${env} ]]
#then
#        echo "start with env:$env"
#else
#        echo "env not specified, default env is dev."
#        env=dev
#fi

#if [[ ${install} = 'i' || ${install} = 'install' ]]
#then
#        yarn install --pure-lockfile
#fi
npm run build:$env

#yarn install --pure-lockfile
#yarn run build:dev
